* {
    margin: 0;
    padding: 0;
}

*::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
*::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: #6D6E70;
}

@media only screen and (min-width: 992px){
    html {
        background: #222;
    }

    body {
        margin: 50px;
        width: 360px;
        height: 640px;
        position: fixed;
        overflow: visible;
    }
}

/* Animations */
@-webkit-keyframes fromright {
    from {
        -webkit-transform: translateX(100%);
    }
    to {
        -webkit-transform: translateX(0);
    }
}
@-webkit-keyframes toright {
    from {
        -webkit-transform: translateX(0);
    }
    to {
        -webkit-transform: translateX(100%);
    }
}
@-webkit-keyframes fromleft {
    from {
        -webkit-transform: translateX(-100%);
    }
    to {
        -webkit-transform: translateX(0);
    }
}
@-webkit-keyframes toleft {
    from {
        -webkit-transform: translateX(0);
    }
    to {
        -webkit-transform: translateX(-100%);
    }
}
@-webkit-keyframes slideup {
    from {
        -webkit-transform: translateY(0);
    }
    to {
        -webkit-transform: translateY(-100%);
    }
}
@-webkit-keyframes slidedown {
    from {
        -webkit-transform: translateY(-100%);
    }
    to {
        -webkit-transform: translateY(0);
    }
}
@-webkit-keyframes slidetodown {
    from {
        -webkit-transform: translateY(0);
    }
    to {
        -webkit-transform: translateY(100%);
    }
}@-webkit-keyframes slidefromdown {
    from {
        -webkit-transform: translateY(100%);
    }
    to {
        -webkit-transform: translateY(0);
    }
}
@-webkit-keyframes fade {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@-webkit-keyframes appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-webkit-keyframes scaleInAppear {
    from {
        opacity: 0;
        -webkit-transform: scale(0.8);
    }
    to {
        opacity: 1;
        -webkit-transform: scale(1);
    }
}

@-webkit-keyframes scaleOutFade {
    from {
        opacity: 1;
        -webkit-transform: scale(1);
    }
    to {
        opacity: 0;
        -webkit-transform: scale(0.8);
    }
}

@-webkit-keyframes goOut {
    from {
        -webkit-transform: scale(1);
    }
    to {
        -webkit-transform: scale(0.9);
    }
}
@-webkit-keyframes goIn {
    from {
        -webkit-transform: scale(0.9);
    }
    to {
        -webkit-transform: scale(1);
    }
}
@-webkit-keyframes slideleft {
    from {
        -webkit-transform: translateX(83%);
    }
    to {
        -webkit-transform: translateX(0);
    }
}
@-webkit-keyframes slideright {
    from {
        -webkit-transform: translateX(0);
    }
    to {
        -webkit-transform: translateX(83%);
    }
}
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg);}
    100% { -webkit-transform: rotate(360deg);}
}
.slide-left {
    opacity: 1 !important;
    z-index: 101;
    -webkit-transform: translateX(0);
    -webkit-animation: slideleft 200ms;
}
.slide-right {
    opacity: 1 !important;
    z-index: 101;
    -webkit-transform: translateX(83%);
    -webkit-animation: slideright 200ms;
}
.from-left {
    opacity: 1 !important;
    z-index: 100;
    -webkit-transform: translateX(0);
    -webkit-animation: fromleft 300ms;
}
.to-left {
    opacity: 1 !important;
    z-index: 100;
    -webkit-transform: translateX(-100%);
    -webkit-animation: toleft 300ms;
}
.from-right {
    opacity: 1 !important;
    z-index: 100;
    -webkit-transform: translateX(0);
    -webkit-animation: fromright 300ms;
}
.to-right {
    opacity: 1 !important;
    z-index: 100;
    -webkit-transform: translateX(100%);
    -webkit-animation: toright 300ms;
}
.slide-up {
    opacity: 1 !important;
    -webkit-transform: translateY(-100%);
    -webkit-animation: slideup 300ms;
}
.slide-down {
    opacity: 1 !important;
    -webkit-transform: translateY(0);
    -webkit-animation: slidedown 300ms;
}
.slide-to-down {
    opacity: 1 !important;
    -webkit-transform: translateY(100%);
    -webkit-animation: slidetodown 300ms;
}
.slide-from-down {
    opacity: 1 !important;
    -webkit-transform: translateY(0);
    -webkit-animation: slidefromdown 300ms;
}
.go-out {
    opacity: 1 !important;
    z-index: 99;
    -webkit-animation: goOut 300ms;
}
.go-in {
    z-index: 99;
    opacity: 1 !important;
    -webkit-animation: goIn 300ms;
}
.fade {
    opacity: 0;
    -webkit-animation: fade 800ms;
    -ms-animation: fade 800ms;
    animation: fade 800ms;
}
.appear {
    opacity: 1;
    -webkit-animation: appear 300ms;
}
.scale-in-appear {
    z-index: 101;
    opacity: 1;
    -webkit-animation: scaleInAppear 300ms;
}
.scale-out-fade {
    z-index: 101;
    opacity: 0;
    -webkit-animation: scaleOutFade 300ms;
}
.page.right {
    display: -webkit-box;
    -webkit-transform: translateX(83%);
}
.page {
    -webkit-transform: translateX(0);
}
/* END Animations */

*, :after, :before, :focus {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    border-radius: 0;
    outline: 0 none;
}

body {
    overflow: hidden;
    color: #6D6E70;
    -webkit-text-size-adjust: none;
    -webkit-user-select: none;
}

div, img, ul, li, a, span, small, p {
    display: -webkit-box;
}

.horizontal {
    -webkit-box-orient: horizntal;
}

.vertical {
    -webkit-box-orient: vertical;
}

.flex {
    -webkit-box-flex: 1;
}

.wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #222;
    overflow: hidden;
}

.page {
    position: absolute;
    display: none;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1;
    background: rgba(255,255,255,1);
    -webkit-box-orient: vertical;
}

.page.current {
    display: -webkit-box;
}

.content {
    -webkit-box-orient: vertical;
    -webkit-box-flex: 1;
    -webkit-overflow-scrolling: touch;
    position: relative;
    overflow: auto;
}

.title-bar {
    position: relative;
    height: 44px;
    width: 100%;
    -webkit-box-orient: horizontal;
    background: #fff;
}

.title-bar .button-holder:first-child,
.title-bar .button-holder:last-child {
    min-width: 50px;
}

.title-bar .button-holder:first-child .button {
    position: relative;
}

.title-bar .button-holder {
    width: 35px;
    position: relative;
}

.title-bar .button {
    -webkit-box-flex: 1;
    -webkit-box-pack: center;
    -webkit-box-align: center;
}

.title-bar .button span {
    color: #222;
    line-height: 100%;
    font-size: 20px;
}

.title-bar .text-holder {
    -webkit-box-flex: 1;
    -webkit-box-pack: center;
    -webkit-box-align: center;
    position: relative;
}

.title-bar .text-holder h1 {
    font-weight: normal;
    font-size: 16px;
    color: #222;
    text-align: center;
    -webkit-box-flex: 1;
}

.tab-bar {
    z-index: 200;
    height: 50px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-box-flex: 1;
    -webkit-box-orient: horizontal;
    background: #ddd;
}

.tab-bar .button-holder {
    -webkit-box-flex: 1;
    border-left: 1px solid #bbb;
}

.tab-bar .button-holder .button {
    -webkit-box-flex: 1;
    -webkit-box-pack: center;
    -webkit-box-align: center;
}

.tab-bar .button-holder .button span {
    -webkit-box-flex: 1;
    -webkit-box-pack: center;
    -webkit-box-align: center;
}

.tab-bar.rows {
    -webkit-box-orient: vertical;
}

.tab-bar.rows .row {
    -webkit-box-orient: horizontal;
}

iframe {
    display: -webkit-box;
    width: 100%;
    -webkit-box-flex: 1;
}

ul.list {
    -webkit-box-orient: vertical;
}

.page.has-title {
    top: 44px;
}

.page.has-tabs {
    bottom: 50px;
}

input {
    padding:0;
    border: 0;
    background: #fff;
    font-size: inherit;
    width: 100%;
}

.image {
    height: 100px;
    background-size: cover;
    background-position: 50% 50%;
    -position: relative;
}

.image:not(.loading) {
    opacity: 1;
    -webkit-transform: translateZ(0);
    -webkit-animation: appear 300ms;
}

.image.loading:before {
    content: "\f110";
    font-family: "FontAwesome";
    position: absolute;
    left: 50%;
    top: 50%;
}